//
// Created by hsfeng on 2020/12/26.
//

#ifndef MAIN_FB_H
#define MAIN_FB_H

typedef unsigned short u16;

void fb_init();
void fb_close();

void SetPixelIndex(int, int, u16);
u16 GetPixelIndex(int, int);
void DrawLine(int, int, int, int, u16);
void FillRect(int, int, int, int, u16);

#endif //MAIN_FB_H
